home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 June / EnigmA AMIGA RUN 08 (1996)(G.R. Edizioni)(IT)[!][issue 1996-06][EARSAN CD VII].iso / earcd / games1 / bombv1_2.lha / InstallBOMB < prev    next >
Text File  |  1996-03-04  |  3KB  |  147 lines

  1. ; $VER: Install BOMB V1.2 (03/03/96)
  2. ; This script is to be distributed with  B O M B  by Silicon Circus
  3.  
  4. (
  5. (set #install-script-choice
  6. (cat "\nYou may want this script (not only to go over its\n"
  7.      "excellence again and again) if you're indecisive.\n\n"
  8.      "You see - you may want to move it from where you\n"
  9.      "are installing it now, in which case this script\n"
  10.      "would come in useful because it could move all the\n"
  11.      "files and set the assigns up for you.\n\n"
  12.      @askoptions-help
  13. )
  14. )
  15. )
  16.  
  17. (set @default-dest
  18. (askdir
  19.    (prompt "Please select or make the directory where you would\n"
  20.            " like to install the program and its data into")
  21.    (help @askdir-help)
  22.    (default "SYS:")
  23.    )
  24. )
  25.  
  26. (complete 0)
  27.  
  28. (
  29. (working "Installing  B O M B  run script")
  30. (copyfiles
  31.    (prompt "")
  32.    (help @copyfiles-help)
  33.    (source "BOMB")
  34.    (dest @default-dest)
  35.    (infos)
  36.     )
  37. )
  38.  
  39. (complete 1)
  40.  
  41. (
  42. (working "Installing  B O M B  program")
  43. (copyfiles
  44.    (prompt "")
  45.    (help @copyfiles-help)
  46.    (source "BOMBprogram")
  47.    (dest @default-dest)
  48.    (infos)
  49.     )
  50. )
  51.  
  52. (complete 12)
  53.  
  54. (
  55. (working "Installing  B O M B  power up picture")
  56. (copyfiles
  57.    (prompt "")
  58.    (help @copyfiles-help)
  59.    (source "PowerUps")
  60.    (dest @default-dest)
  61.    (infos)
  62.     )
  63. )
  64.  
  65. (complete 13)
  66.  
  67. (
  68. (if (exists "BOMB.Guide" (noreq) )
  69.     (copyfiles
  70.        (prompt "Would you like to install the cool documentation for\n"
  71.                "B O M B  which is an AmigaGuide?")
  72.        (help @copyfiles-help)
  73.        (source "BOMB.Guide")
  74.        (dest @default-dest)
  75.        (confirm)
  76.        (infos)
  77.     )
  78. )
  79. )
  80.  
  81. (complete 18)
  82.  
  83. (
  84. (if (exists "InstallBOMB" (noreq) )
  85.     (copyfiles
  86.         (prompt "Would you like this install scipt?\n\n"
  87.                 "Ask for help for reasons why.")
  88.         (help #install-script-choice)
  89.         (source "InstallBOMB")
  90.         (dest @default-dest)
  91.         (confirm)
  92.         (infos)
  93.     )
  94. )
  95. )
  96.  
  97. (complete 18)
  98.  
  99. (
  100. (if (exists "LIBS/CrM.library" (noreq) )
  101.     (copylib
  102.         (prompt "You need the Crunch Mania library to run  B O M B\n"
  103.                 "Would you like me to install a version?")
  104.         (help @copyfiles-help)
  105.         (source "LIBS/CrM.library")
  106.         (dest "LIBS:")
  107.         (confirm)
  108.     )
  109. )
  110. )
  111.  
  112. (complete 19)
  113.  
  114. (
  115. (makedir((cat @default-dest "/BOMBdata" )))
  116. )
  117.  
  118. (
  119. (working "Installing  B O M B  game data")
  120. (copyfiles
  121.     (prompt "")
  122.     (help @copyfiles-help)
  123.     (source "BOMBdata/")
  124.     (dest (tackon @default-dest "BOMBdata/"))
  125.     (all)
  126.     )
  127. )
  128.  
  129. (complete 99)
  130.  
  131. (
  132. (startup @app-name
  133.    (prompt "I need to put some assigns in your S:User-Startup"
  134.       " so that  B O M B  knows where to look for its"
  135.         " data and its fonts when you double click on it.\n\n"
  136.         "Is that okay?\n\n"
  137.         "(P.S.  You must reset once the installation is"
  138.         " FINISHED to make sure this happens)")
  139.    (help @startup-help)
  140.    (command "Assign >NIL: BOMB: "@default-dest)
  141.     )
  142. )
  143.  
  144. (complete 100)
  145.  
  146. (exit)
  147.